'use client';

import { Modal } from 'antd';
import { useRouter } from 'next/navigation';

export default function LoginModal() {
  const router = useRouter();
  return (
    <Modal open={true} onCancel={() => router.back()}>
      login
    </Modal>
  );
}
